Skip to content

Conversation

@alissapajer
Copy link
Member

original PR: jsontypedef#31

AdamLeyshon and others added 3 commits July 12, 2021 22:33
…tructs.

This allows us to additional `use` statements or `derive` macros on generated structs.

`rustCustomUse` is a string of use statments separated by `;`
It supports single and multi-import statements.
For example: `serde::{Deserialize, Serialize}` or `serde::Serialize` are both valid.

`rustCustomUse` is a string of derive identifers separated by `,`
For example: `FromSqlRow,AsExpression,Debug,Default`
@alissapajer alissapajer changed the title Feature/add custom use and derive Add custom use and derive for Rust Mar 22, 2023
@alissapajer alissapajer merged commit 18d34e8 into master Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants